import { BroadCastCall } from "../../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../../Framework/MQ/MessageBlock";
import { NetDispatcher } from "../../../../mvc/core/NetDispatcher";
import { ServerCommand } from "../../../mvc/ServerCommand";
import { SSeqFriendBlessInfo } from "../../../../../Message/Public/SSeqFriendBlessInfo";
//class FriendBlessListCommand
    
    export  class FriendBlessListCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            super.call(arg1);
            if (arg1.messageBase) 
            {
                NetDispatcher.dispatchCmd(ServerCommand.FriendBlessList, (arg1.messageBase as SSeqFriendBlessInfo).infos);
            }
            return;
        }
    }
